import { get } from "@/utils/request";

const cartList = () => get("cart/list1");

const cartListByUser = () => get("cart/list2");

const deleteCart = (cartid: string) => get("cart/remove", { cartid });

export default {
  cartList,
  cartListByUser,
  deleteCart,
};
